
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/common_java.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<%@include file="../common/common_meta.jsp" %>  
    <meta name="keywords" content="投票,投票网,大众,民意,调查," />
	<%@include file="../common/common_css.jsp"%>
    <title>个人中心-大众投票</title>
</head>
<body>
   <jsp:include page="../common/common_header.jsp">
		<jsp:param name="active" value="vote_user"/>
	</jsp:include>
    <section class="container">
        <h3 class="mt-10">个人中心</h3>
        <div class="line"></div>
        <div class="responsive">
            <div class="row cl">
                <!-- left -->
                <div class="col-md-2">
	                <jsp:include page="../vote/sidebar.jsp">
						<jsp:param name="active" value="user_center"/>
					</jsp:include>
                </div>
                <!-- right -->
                <div class="col-md-10">
                    <!--panel 1 start-->
                    <div class="panel shadow panel-default radius mt-20">
                        <div class="panel-body   ">
                            <h4>个人中心</h4>
                            <div class="line"></div>
                            <div class="responsive">
	            				<div class="row cl">
		            				<div class="col-md-8">
			                            <div class="f-16 mt-10">
				                        	  用户名: <span class="c-success ml-10">${user.userName}</span><p/>
				                        	  展示名: <span class="c-success ml-10 mr-40">${user.displayName}</span><p/>
				                        	  <c:if test="${user.userId != 1}">
				                        	 <a href="${ctx}/user/editUserInfo" class="c-danger">修改展示名</a><p/>
				                        	 <a href="${ctx}/user/editUserPwd" class="c-danger">修改密码</a><p/>
				                        	 </c:if>
			                            </div>
		                            </div>
		            				<div class="col-md-4">
		            					<c:if test="${user.userId != 1}">
				            				<div class=" f-30 <c:if test="${user.grade>=0}">c-success</c:if><c:if test="${user.grade<0}">c-danger </c:if>">
				            					积分：${user.grade}
				                            </div>
				                        	 <a href="${ctx}/article/grade" target="_blank" class="c-danger">积分是什么？</a><p/>
		            					</c:if>
		                            </div>
	                            </div>
                            </div>
                            
                            
                            
                        </div>
                    </div>
                    <!--panel 1 end-->

                </div>
            </div>
        </div>
    </section>
<%@include file="../common/common_footer.jsp" %> 
<%@include file="../common/common_js.jsp" %>
<script type="text/javascript" src="${jsBase}/user/center.js" ></script>
</body>

</html>